package priv.menguer.business.controller;

import priv.menguer.business.service.BusinessService;

/**
 * @Title BusinessDelegate.java
 * @description TODO
 * @time 2018年10月26日 下午2:07:30
 * @author menguer@126.com
 * @version 1.0
 */
public class BusinessDelegate {
	private BusinessLookUp lookupService = new BusinessLookUp();
	private BusinessService businessService;
	private String serviceType;

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public void doTask() {
		businessService = lookupService.getBusinessService(serviceType);
		businessService.doProcessing();
	}
}
